﻿using DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAO;
using System.ComponentModel;

namespace BUS
{
    public class QuanLyGiaVeBUS
    {

        public static List<SuatChieu> getDsXuatChieu()
        {
            List<SuatChieu> dsXuatChieu;
            dsXuatChieu = QuanLyGiaVeDAO.layDSSuatChieu();
            return dsXuatChieu;
        }
        public static BindingList<BangGiaVe> getDSGiaVe()
        {
            BindingList<BangGiaVe> dsGiaVe;
            dsGiaVe = QuanLyGiaVeDAO.getDSGiaVe();
            return dsGiaVe;
        }

        public static string themGiaVe(BangGiaVe gv)
        {
            string kq = QuanLyGiaVeDAO.themGiaVe(gv);
            return kq;
        }

        public static string capNhatGiaVe(BangGiaVe gv)
        {
            string kq = QuanLyGiaVeDAO.capNhatGiaVe(gv);
            return kq;
        }
    }
}
